package com.jed.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.Gravity;

import com.jed.R;
import com.jed.view.CustomDialog;

/**
 * 项目名：XMKAPP<br/>
 * 包名：  com.jed.activity<br/>
 * 作者：徐晓辉<br/>
 * 创建日期：2018/11/29 11:58<br/>
 * 描述：BaseActivity<br/>
 */
public class BaseActivity extends AppCompatActivity {

    protected CustomDialog dialog;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        dialog = new CustomDialog(this, 100, 100, R.layout.dialog_loding, R.style.Theme_dialog, Gravity.CENTER, R.style.pop_anim_style);
        dialog.setCancelable(false);
    }
}
